package cn.itsource.pojo.ro;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RuleRo {
    @NotNull(message = "订单时间不能为空")
    private Date orderTime;
    @NotNull(message = "预计公里数不能为空")
    private BigDecimal mileage;
}
